//
//  ByPhotoPickerViewController.h
//  beibei_ios
//
//  Created by mc on 16/5/7.
//  Copyright © 2016年 hebidu. All rights reserved.
//

#import "ByBaseVC.h"
#import <AssetsLibrary/AssetsLibrary.h>


/** 照片选择器 */ /** 张占彬 2422695325@qq.com */

//相机cell  可以用作第一个cell 暂时没使用
@interface ByVideoPickerCell : UICollectionViewCell

@end



//胶圈cell
@interface ByAlbumPickerCell : UICollectionViewCell

@property(nonatomic,strong) ALAsset *asset;
@property (strong, nonatomic) UIButton *selectButton;
@property(nonatomic,assign) BOOL tick;
- (UIImageView *)containerImageView;

@end



//照片控制器
@protocol PhotoPickerDelegate;
@interface ByPhotoPickerViewController : ByBaseVC

@property(nonatomic,assign) NSInteger maxSelectedCount; //最多选中照片数量
@property(nonatomic,assign) id<PhotoPickerDelegate> delegate;

@end

@protocol PhotoPickerDelegate<NSObject>

@optional
- (void) didSelectedAssets:(NSMutableArray *)assets;
- (void) didSelectImageCount:(NSInteger)count;
- (void) didFinishPickingCameraPhoto :(ALAsset *)assset;

@end




